Comparing a 2-bit image with an 8-bit image